package com.easydata.agent.config;

import jakarta.annotation.PostConstruct;
import lombok.Getter;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

@Configuration
public class TaskConfiguration {
    @Getter
    private static TaskConfiguration instance;


    @PostConstruct
    void init(){
        TaskConfiguration.instance = this;
    }


    @Getter
    @Value("${task.cache.dir}")
    private String cacheDir;
}
